package drinkshop;

import java.sql.SQLOutput;

/**
 * @Auther: fei
 * @Date: 2021/6/5 - 06 - 05 - 22:36
 * @Description: drinkshop
 * @version: 1.0
 */
public class Cola extends Drink {
    private String brand;

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public Cola(){

    }

    public Cola(String name, double price, String size, String remark, String isIce, int num, String brand) {
        super(name, price, size, remark, isIce, num);
        this.brand = brand;
    }

    @Override
    public String showDrink() {
        return super.showDrink()+"\n你选择的是品牌是："+brand;
    }
}
